import {
    request
} from "./request";
import qs from "qs";


//   数据可视化
export function listMain(obj) {
    return request({
        url: "shop/listMain",
        method: "post",
        data: qs.stringify(obj)
    });
}
//   获取设置
export function listSetting(obj) {
    return request({
        url: "setting/listSetting",
        method: "post",
        data: qs.stringify(obj)
    });
}
//   添加 或修改 设置项
export function addOrUpdateSetting(obj) {
    return request({
        url: "setting/addOrUpdateSetting",
        method: "post",
        data: qs.stringify(obj)
    });
}
//   获取用户列表
export function getAllUser(obj) {
    return request({
        url: "user/getAllUser",
        method: "post",
        data: qs.stringify(obj)
    });
}